<template>
    <div>
        <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white" :height="123">
            <van-swipe-item v-for="(image, index) in images" :key="index">
                <img v-lazy="image" class="photo"/>
            </van-swipe-item>
        </van-swipe>
    </div>
</template>
<script>

export default {
    name:"bannerSon",
    data(){
        return{

        }
    },
    props:{
        images:{
            type:Array,
            required:true
        }
    }
}
</script>

<style scoped> 
.photo {
    width: 100vw;
    height: 32.8vw;
}

</style>